package com.wonghiu.framework.cluster.loadbalance;

import com.wonghiu.framework.common.extention.SPI;
import com.wonghiu.framework.exchange.HRpcRequest;

import java.util.List;

/**
 * @Author wonghiu
 * @Date 2021/8/10 20:19
 * @Version 1.0.1
 */
@SPI
public interface LoadBalance {
    String selectServiceAddress(List<String> serviceAddresses, HRpcRequest rpcRequest);

}
